package top.hesisi.springboot3.service.contact;

import top.hesisi.springboot3.base.PageBean;
import top.hesisi.springboot3.base.R;
import top.hesisi.springboot3.entity.TbContact;
import top.hesisi.springboot3.vo.PageVO;

public interface TbContactService {
    R<String> insert(TbContact tbContact);

    R<PageVO<TbContact>> query(TbContact tbContact, PageBean pageBean);

    R<String> delete(Integer id);

    R<String> update(TbContact tbContact);

    R<TbContact> queryById(Integer id);
}
